/**
 *	@author btan
 *	@email: btan@tma.com.vn - anbtan@gmail.com 
 */
package com.vital.dao;

import java.io.Serializable;
import java.util.ArrayList;



public class Category implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	
	
	private int cateId;
	private String cateName;
	private String cateIcon;
	private int iconResourceId;
	private int cateReadOnly;
	ArrayList<Category> categories;
	
	public Category() {
		
	}
	/**
	 * @param cateId
	 * @param cateName
	 * @param cateIcon
	 * @param cateDesc
	 */
	public Category(int cateId, String cateName, String cateIcon, int cateReadOnly) {
		this.cateId = cateId;
		this.cateName = cateName;
		this.cateIcon = cateIcon;
		this.cateReadOnly = cateReadOnly;
		categories = new ArrayList<Category>();
	}
	
	/**
	 * @param cateName
	 * @param iconResourceId
	 */
//	public Category(int cateId, String cateName, int iconResourceId, int cateReadOnly) {
//		this.cateId = cateId;
//		this.cateName = cateName;
//		this.iconResourceId = iconResourceId;
//		this.cateReadOnly = cateReadOnly;
//		categories = new ArrayList<Category>();
//	}

	/**
	 * 
	 */
	public Category(String cateName, String cateIcon, int cateReadOnly) {
		this.cateName = cateName;
		this.cateIcon = cateIcon;
		this.cateReadOnly = cateReadOnly;
		categories = new ArrayList<Category>();
	}
	
	/**
	 * @return the cateId
	 */
	public int getCateId() {
		return cateId;
	}
	/**
	 * @param cateId the cateId to set
	 */
	public void setCateId(int cateId) {
		this.cateId = cateId;
	}
	/**
	 * @return the cateName
	 */
	public String getCateName() {
		return cateName;
	}
	/**
	 * @param cateName the cateName to set
	 */
	public void setCateName(String cateName) {
		this.cateName = cateName;
	}
	/**
	 * @return the cateIcon
	 */
	public String getCateIcon() {
		return cateIcon;
	}
	/**
	 * @param cateIcon the cateIcon to set
	 */
	public void setCateIcon(String cateIcon) {
		this.cateIcon = cateIcon;
	}
	/**
	 * @return the iconResourceId
	 */
	public int getIconResourceId() {
		return iconResourceId;
	}


	/**
	 * @param iconResourceId the iconResourceId to set
	 */
	public void setIconResourceId(int iconResourceId) {
		this.iconResourceId = iconResourceId;
	}



	/**
	 * @return the cateReadOnly
	 */
	public int getCateReadOnly() {
		return cateReadOnly;
	}


	/**
	 * @param cateReadOnly the cateReadOnly to set
	 */
	public void setCateReadOnly(int cateReadOnly) {
		this.cateReadOnly = cateReadOnly;
	}
	
	
}
